package cn.powertime.evaluation.mapper;

import cn.powertime.evaluation.entity.DbqQuestion;
import cn.powertime.evaluation.vo.CpsSearchVo;
import cn.powertime.evaluation.vo.DbqQuestionVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 问题表 Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
@Mapper
public interface DbqQuestionMapper extends BaseMapper<DbqQuestion> {

    List<DbqQuestionVo> questionList(@Param("id") Long id);
    List<DbqQuestionVo>  questionUserList(@Param("userId") Long userId);
    List<DbqQuestionVo> questionDetailsList(@Param("userId") Long userId);
    List<DbqQuestionVo>  questionSearchList(@Param("vo")CpsSearchVo cpsSearchVo);
}
